package com.zp.qualitypractice.MVP2;

/**
 * Created by izp on 2017/5/29.
 */

public interface MVPContract {
    public interface ZhihuPresenter {
        void getLatest();
        void getMore();
    }

    public interface ZhihuView {

        void onStartGetData();

        void onGetZhihuLatestSuccess();

        void onGetMoreSuccess();

        void onGetDataFailed(String error);

    }
    public interface ZhihuLatestModel {

        void loadZhihuLatest(OnZhihuLatestListener listener);

        void loadMore(OnZhihuLatestListener listener);
    }
}
